using namespace std;
#include <iostream>

template <size_t N=128>
class Buffer
{
public:
    Buffer() { size = N; };
    size_t getSize() { return size; }

private:
    char data[N];
    size_t size;
};

int
main(int argc, char *argv[])
{
    Buffer<512> buf1;
    Buffer<> buf2;

    cout << "Buffer 'buf1' created, size " << buf1.getSize() << endl;
    cout << "Buffer 'buf2' created, size " << buf2.getSize() << endl;

    return 0;
}
